package com.itheima.service.Impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.service.DemoService;

//发布服务必须使用Dubbo提供的Service注解
@Service(interfaceClass = DemoService.class,protocol = "dubbo")
public class DemoServiceImpl implements DemoService {
    @Override
    public String sayHello(String name) {
        return "8083 hello" + name;
    }
}
